<%@ Page Title="" Language="C#" MasterPageFile="~/BackOffice.Master" AutoEventWireup="true" CodeBehind="RecuperaUsuario.aspx.cs" Inherits="MakeIT.SGI.ERP.Apresentacao.RecuperaUsuario" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphTituloCadastro" runat="server">
    Recupera&ccedil;&atilde;o de Usu&aacute;rio
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
            <asp:Panel ID="pnRecuperarUsuario" runat="server">
                <div id="div3"  style="width:98%; padding-left: 10px; padding-right: 10px; text-align: left;">
                    <table border="0" cellpadding="3" cellspacing="3">
                        <tr>
                            <td align="left" style="font-weight:bold; font-size:18px; font-family:Arial Black;">
                                Recupera&ccedil;&atilde;o de Usu&aacute;rio / Senha<br />
                                <br />
                            </td>
                        </tr>
                        <tr>
                            <td>
                            
                        <table style="font-size:12px; color:#404040;">
                            <tr>
                                <td colspan="2" align="left">
                                    <asp:RadioButton ID="RadioButton1" runat="server"  GroupName="x"  Checked="true" AutoPostBack="true"
                                        Text="Esqueci a senha, mas lembro nome de meu usu&aacute;rio" OnCheckedChanged="rb_Checked1"/>
                                </td>
                            </tr>
                            <tr>
                                <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                    Informe o nome do usu&aacute;rio: 
                                </td>
                                <td>
                                    <asp:TextBox ID="TextBoxUsuario" runat="server" MaxLength="45" Width="200px"></asp:TextBox>
                                    <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender1" runat="server" TargetControlID="TextBoxUsuario" WatermarkText="Nome de seu usuário" WatermarkCssClass="waterMark"/>
                                </td>
                            </tr>
                        </table>
                        <br />
                        <table style="font-size:12px; color:#404040;">
                        <tr>
                            <td colspan="2" style="text-align:left;">
                                <asp:RadioButton ID="RadioButton2" runat="server"  GroupName="x"  AutoPostBack="true"
                                 Text="Esqueci o nome do meu usu&aacute;rio e senha" OnCheckedChanged="rb_Checked2"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                Informe o email de sua ficha cadastral: 
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxEmail" runat="server" MaxLength="45" Width="200px" Enabled="false"></asp:TextBox>
                                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender2" runat="server" TargetControlID="TextBoxEmail" WatermarkText="Email de sua ficha cadastral" WatermarkCssClass="waterMark"/>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="TextBoxEmail" 
                                                ErrorMessage="Email n&atilde;o est&aacute; no formato correto." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                 ValidationGroup="Enviar" ></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        </table>
                        <br />
                        <table style="font-size:12px; color:#404040;">
                        <tr>
                            <td colspan="2" style="text-align:left;">
                                
                                <asp:RadioButton ID="RadioButton3" runat="server" GroupName="x"  AutoPostBack="true"
                                    Text="Quero ser contactado pelo suporte" OnCheckedChanged="rb_Checked3"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                Informe o nome de sua Empresa: 
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxEmpresa" runat="server" MaxLength="45" Width="200px" Enabled="false"></asp:TextBox>
                                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender3" runat="server" TargetControlID="TextBoxEmpresa" WatermarkText="Nome de sua empresa" WatermarkCssClass="waterMark"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                Seu nome: 
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxContato" runat="server" MaxLength="45" Width="200px" Enabled="false"></asp:TextBox>
                                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender4" runat="server" TargetControlID="TextBoxContato" WatermarkText="Seu nome e sobrenome" WatermarkCssClass="waterMark"/>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                Email:
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxContatoEmail" runat="server" MaxLength="45" Width="200px" Enabled="false"></asp:TextBox>
                                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender5" runat="server" TargetControlID="TextBoxContatoEmail" WatermarkText="Email para contato" WatermarkCssClass="waterMark"/>
                                <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="TextBoxContatoEmail" 
                                                ErrorMessage="Email n&atilde;o est&aacute; no formato correto." ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                                                  ValidationGroup="Enviar" ></asp:RegularExpressionValidator>
                            </td>
                        </tr>
                        <tr>
                            <td style="text-align:left; vertical-align:top; padding-left:40px;">
                                Telefone: 
                            </td>
                            <td>
                                <asp:TextBox ID="TextBoxContatoTelefone" runat="server" MaxLength="45" Width="200px" Enabled="false"></asp:TextBox>
                                <asp:TextBoxWatermarkExtender ID="TextBoxWatermarkExtender6" runat="server" TargetControlID="TextBoxContatoTelefone" WatermarkText="Telefone para contato" WatermarkCssClass="waterMark"/>
                                <asp:MaskedEditExtender ID="MaskedEditExtender1" runat="server" 
                                    ClearTextOnInvalid="True" ErrorTooltipEnabled="true" AutoComplete="False"
                                    ClearMaskOnLostFocus="false" 
                                    InputDirection="LeftToRight" Mask="(99) 9999-9999" MaskType="None" 
                                    PromptCharacter="_" TargetControlID="TextBoxContatoTelefone" >
                                </asp:MaskedEditExtender>
                           </td>
                        </tr>
                        </table>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <div style="text-align:center; width:79px; height:24px; background-image:url('App_Themes/Padrao/imagens/masterpage/btFundoM.png');">
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="ButtonEnviar_Click" BorderStyle="None" Font-Underline="false" ForeColor="Red" Font-Bold="true">Enviar</asp:LinkButton>
                    </div>
                    <br />
                    <asp:Literal ID="Literal1" runat="server"></asp:Literal>
                </div>            

            </asp:Panel>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
